export function validUsername(str){
  let valid_map=['admin', 'editor']
  return valid_map.includes(str.trim())
}